// SPDX-FileCopyrightText: 2025 Demerzel Solutions Limited
// SPDX-License-Identifier: LGPL-3.0-only

using Nethermind.Xdc.Types;

namespace Nethermind.Xdc;

public interface IQuorumCertificateManager
{
    QuorumCertificate HighestKnownCertificate { get; }
    QuorumCertificate LockCertificate { get; }

    void CommitCertificate(QuorumCertificate qc);
    bool VerifyCertificate(QuorumCertificate qc, XdcBlockHeader certificateTarget, out string error);
    void Initialize(XdcBlockHeader current);
}
